<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>测试关闭data</title>
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
		
	</head>
	<body>
		<div class="dropdown">
			<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
				下拉菜单
				<span class="caret"></span>
			</button>
			<ul class="dropdown-menu" role="menu">
				<li role="presnetation"><a href="#" tabindex="-1" role="menuitem">hello</a></li>
				<li role="presnetation"><a href="#" tabindex="-1" role="menuitem">hello</a></li>
				<li role="presnetation"><a href="#" tabindex="-1" role="menuitem">hello</a></li>
				<li role="presnetation"><a href="#" tabindex="-1" role="menuitem">hello</a></li>
			</ul>
		</div>
		
		
		<script src="js/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<script >
			//$(document).off(".dropdown.data-api"); /*禁用所有data-*/
			$("#myModal").on("show.bs.modal",function(e){
				if(!data) return e.preventDefault();//阻止模态框的展示
			})
			alert($.fn.tooltip.Constructor.VERSION);/*查看当前bootStrap版本*/
			
		</script>
		
		<!--不支持JavaScript-->
		<noscript>当前浏览器不支持JavaScript</noscript>
	</body>
</html>
